/*
 * in_uvc.h
 *
 *  Created on: Apr 4, 2015
 *      Author: odroid
 */
#ifndef UVC_DEV_H
#define UVC_DEV_H

#include "io_dev.h"

int uvc_destroy(struct io_dev *dev);
int uvc_req_bufs(struct io_dev *dev, enum io_dir dir, int nelem);
int uvc_deq_buf(struct io_dev *dev, enum io_dir dir);
int uvc_enq_buf(struct io_dev *dev, enum io_dir dir, int idx);
int uvc_set_fmt(struct io_dev *dev, enum io_dir dir, int width, int height);
int uvc_set_rate(struct io_dev *dev, int rate);
struct io_dev *in_uvc_create(char const *name);





#endif

